package com.vinfai.patterns.proxy.jdkproxy;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

public class RealSubject implements SubjectInterface {
	
	private Logger logger = LogManager.getLogger(RealSubject.class);
	@Override
	public void doElse(String str) {
		logger.info("do else "+str);
	}

	@Override
	public void doSomething(String str) {
		logger.info("do something "+str);
	}

}
